package com.example.mylearn.designPattern.chainOfResponsibility.learn1;

import com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator;

public abstract class SingHandler<T> {


    protected SingHandler<T> singHandler;

    public abstract void process(T a);

    public void setNext(SingHandler<T> singHandler) {
        this.singHandler = singHandler;
    }

}
